package org.wiztools.thegreatwall;

import java.util.List;

/**
 *
 * @author subwiz
 */
public interface Operations {
    void addUser(User user) throws OperationException;
    void addWall(Wall wall) throws OperationException;
    void addPost(Post post) throws OperationException;
    List<Post> getUserPosts(String username) throws OperationException;
    Wall getWallPosts(String wallname) throws OperationException;
    LoginStatus login(String username, String password) throws OperationException;
    List<Wall> getAllWall() throws OperationException;
}
